<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'main.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">
body {
	font-family: Verdana;
	margin: 0 auto;
}

#container {
	margin: 0 auto;
	width: 900px;
}

#head {
	background-image: url(images/bannaer2.jpg);
	height: 200px;
}

#leftBack {
	background-image: url(images/leftBack.jpg);
	height: 600px;
	width: 200px;
	float: left;
}

.ulFirst {
	list-style: none;
}

.ulFirst li {
	float: left;
	width: 50px;
	height: 50px;
	background-image: url(images/top-smal.jpg);
	margin-left: 50px;
	margin-top: 100px;
	text-align: center;
}

#rightBack {
	background-image: url(images/right-back.jpg);
	height: 600px;
	width: 700px;
	margin-left: 200px;
}

.ulLeft {
	list-style: none;
}

.ulLeft li {
	margin-top: 20px;
	text-align: center;
	margin-right: 50px;
}

.ulLeft li img {
	height: 50px;
	width: 50px;
}

#footBank {
	background-image: url(images/foot.jpg);
	height: 100px;
	width: 900px;
	text-align: center;
}
</style>
</head>

<body>
	<div id="container">
		<div id="head">
			<ul class="ulFirst">
				<s:iterator value="#session.funcList">
					<li><a href="getSyspage.action?fid=<s:property value="id"/>"><s:property value="name" /></a></li>
				</s:iterator>
			</ul>
		</div>
		<div id="leftBack">
			<ul class="ulLeft">
				<s:iterator value="#session.syspageList">
					<li><a href="<s:property value="control" />" target="view"><img src="images/left-small.jpg" /><br /> <s:property value="name" /></a></li>
				</s:iterator>
			</ul>
		</div>
		<iframe id="rightBack" name="view" scrolling="no"></iframe>
		<div id="footBank">@北大青鸟第五小组</div>
	</div>
</body>
</html>
